package com.dht.xiao.jianye.adapter;

import android.content.Context;
import android.os.Build;
import android.support.annotation.RequiresApi;

import com.dht.xiao.jianye.R;
import com.dht.xiao.jianye.bean.CollectorFacilityBean;

import cn.dlc.commonlibrary.ui.adapter.BaseRecyclerAdapter;

/**
 * 回收订单结果
 */
public class RecyclerAdapter extends BaseRecyclerAdapter<String> {
    @Override
    public int getItemLayoutId(int viewType) {
        return R.layout.item_recycler;
    }

    @RequiresApi(api = Build.VERSION_CODES.LOLLIPOP)
    @Override
    public void onBindViewHolder(CommonHolder holder, int position) {

        holder.getText(R.id.rfid).setText(getItem(position));

    }
}
